package com.chinaisafe.user.entity;

import java.io.Serial;
import com.chinaisafe.user.vo.request.SysModuleReqVO;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import com.chinaisafe.base.mybatisplus.entity.BaseEntity;
import java.io.Serializable;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Getter;
import lombok.Setter;
import lombok.experimental.Accessors;

/**
 * SysModule
 * Description：系统资源模块实体类
 *
 * @author xuefu.shu
 * @date  2024-07-12 16:06:57
 */
@Getter
@Setter
@Accessors(chain = true)
@TableName("sys_module")
@Schema(name = "SysModule", description = "系统资源模块")
public class SysModule extends BaseEntity {

    @Serial
    private static final long serialVersionUID = 1L;

    @Schema(description = "应用_id")
    @TableField("sys_app_id")
    private Long sysAppId;

    @Schema(description = "模块名")
    @TableField("`name`")
    private String name;

    @Schema(description = "模块编码")
    private String code;

    @Schema(description = "是否启用")
    @TableField("`enable`")
    private Boolean enable;
    @Schema(description = "模块说明")
    private String summary;

}
